package hunter20240515_2;

public  class Sheep extends Animal {
    public Sheep() {

    }

    public Sheep(String name, int age) {
        super(name, age);
    }



    @Override
    public void drink() {
        System.out.println(getName() + "喝水水");
    }

    @Override
    public void eat() {
        System.out.println(getName() + "吃草");
    }
}
